.graph {
  height: 100%;
  overflow: hidden;

  // font-family: Microsoft YaHei;

  &-header {
    box-sizing: border-box;
    padding: 0 10px;
    font-size: 12px;
    color: #242424;
    background: rgb(255 255 255);

    &-Options {
      display: flex;
      justify-content: space-between;
      height: 60px;
      border-bottom: 1px solid #d4d4d4;

      &-left {
        display: flex;
        align-items: center;

        &-btn {
          position: relative;
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          width: 50px;
          height: 60px;
          cursor: pointer;

          & > span {
            margin-top: 5px;
          }
        }
      }

      &-right {
        display: flex;
        align-items: center;

        & > * {
          margin-right: 10px;
        }
      }
    }

    &-font {
      display: flex;
      align-items: center;
      height: 40px;
      padding: 0 5px;
      border-bottom: 1px solid #d4d4d4;

      & > .inpt {
        display: flex;
        align-items: center;
        margin-right: 10px;
        color: #242424;

        & > span {
          margin-right: 5px;
        }
      }

      .textopt:hover {
        border: 1px solid #409eff;
      }
    }
  }

  .graph-content {
    position: relative;

    // overflow: hidden;overflow
    display: flex;
    justify-content: space-between;
    height: 94%;

    &-model {
      position: absolute;
      top: 0;
      left: 0;
      z-index: 10;
      height: 100%;
      padding-left: 10px;

      // background: rgb(255 255 255);

      &-item {
        display: flex;
        align-items: center;
        justify-content: start;
        height: 50px;
        cursor: pointer;

        & > span {
          margin-left: 5px;
          font-size: 18px;
          font-weight: 500;
        }
      }
    }

    &-graph {
      position: absolute;
      top: 0;
      left: 50px;
      width: calc(100% - 310px);
      height: 97%;
      overflow: auto;
      background-color: #d1d4d6;

      // &-main {
      //   min-width: 3000px;
      //   min-height: 1000px;
      //   overflow: auto;
      //   background-color: #d1d4d6;
      // }
    }

    &-form {
      position: absolute;
      top: 0;
      right: 0;
      width: 260px;
      height: 100%;
      background: rgb(255 255 255);

      &-header {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 50px;
        font-size: 18px;
        border-bottom: 1px solid rgb(216 216 216);
        border-bottom: 1px solid #d4d4d4;
      }
    }
  }
}
